package com.example.blog.dto.trivia;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
public class TriviaUpdateDto {
    @NotBlank(message = "不为空")
    @Min(value = 1,message = "值最小为1")
    private Long id;
    @NotBlank(message = "不为空")
    private String triviaImage;
    @NotBlank(message = "不为空")
    private String content;
}
